<template>
  <h1>我的</h1>
  <button @click="store.increment()"> + </button>
  <button @click="store._increment()" > - </button>
  <br>
  <router-link to="/">首页</router-link>
</template>

<script setup>
import {useCounterStore} from "../counter.js";
const store = useCounterStore()
</script>

<style scoped>

</style>